﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TeamOPSchoolCup.Domain.POCO;
using TeamOPSchoolCup.Domain.POCO.Members;

namespace TeamOPSchoolCup.Domain.POCO.Ranking
{
  public class BestStudentResult
  {
    public int CompetitionYear { get; set; }
    public bool IsOfficial { get; set; }

    public int StudentId { get; set; }
    public int EventId { get; set; }
    public int ResultId { get; set; }

    public Student Student { get; set; }
    public Event Event { get; set; }
    public Result Result { get; set; }

    public BestStudentResult()
    {
      this.CompetitionYear = DateTime.Today.Year;
    }
  }
}
